﻿using CL_SQL.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CL_SQL.BLL
{
    public class LoginBLL
    {
        private LoginDAL _loginDAL;
        public LoginDAL LoginDAL
        {
            get
            {
                if (_loginDAL == null)
                    _loginDAL = new LoginDAL();
                return _loginDAL;
            }
        }
        public UserLogin LoginCheck(string UserAccount, string pwd)
        {
            return LoginDAL.LoginCheck(UserAccount, pwd);
        }
        public Boolean ChangePwd(string U,string O,string N)
        {
            return LoginDAL.ChangePwd(U, O, N);
        }
    }
}
